<%@ page import="com.web.test.bean.Student" %>
<%@ page import="java.util.List" %><%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/9/23
  Time: 9:43
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>

<head>
    <title>我的信息</title>
</head>
<%@include file="webexam_left.jsp" %>
<style>

    #content {
        width: 50%;
        margin-top: 30px;
        background-color: white;
    }

    #content div {
        padding-top: 100px;
        margin-bottom: 30px;
        padding-bottom: 300px;
    }
</style>
<body>
<%
    Student student = (Student) session.getAttribute("student");
%>

<div class="right">

    <center>
        <div id="content">

            <% if (student != null) {%>
            <div> 学号：<%=student.getStuNo()%>
                <br>
                名字：<%=student.getName()%>
                <br>
                年龄：<%=student.getAge()%>
                <br>
                专业：<%=student.getMajor()%>
                <br>
                学校：<%=student.getCollege()%>
                <br>


            </div>
            <%}%>
        </div>
    </center>

</div>

</body>
</html>
